import Cookies from 'js-cookie';

export function getToken(TokenKey = 'PAY-Token') {
  return Cookies.get(TokenKey);
}

export function setToken(TokenKey = 'PAY-Token', token) {
  return Cookies.set(TokenKey, token);
}

export function removeToken(TokenKey = 'PAY-Token') {
  return Cookies.remove(TokenKey);
}
